export default [
    {
        path: "/",
        redirect: '/Dashboard',
        name: 'Home',
        component: () =>
            import("../layout/Home.vue"),
        children: [
            // 主页面
            {
                path: "/Dashboard",
                name: 'Dashboard',
                component: () =>
                    import("../views/Dashboard.vue"),
                meta: { title: "导航页" },
            },
            // 系统设置 - 用户管理
            {
                path: "/UserManage",
                name: 'UserManage',
                component: () =>
                    import("../views/SystemSet/UserManage/index.vue"),
                meta: { title: "用户管理" },
            },
            // 折线图
            {
                path: "/Chart-Line",
                name: 'Chart-Line',
                component: () =>
                    import("../views/Charts/ChartLine.vue"),
                meta: { title: "折线图" },
            },
            // 柱状图
            {
                path: "/Chart-Bar",
                name: 'Chart-Bar',
                component: () =>
                    import("../views/Charts/ChartBar.vue"),
                meta: { title: "柱状图" },
            },
            // 单文件上传
            {
                path: "/SingleFileUpload",
                name: 'SingleFileUpload',
                component: () =>
                    import("../views/File/SingleFileUpload/index.vue"),
                meta: { title: "单文件上传" },
            },
            // 单文件上传
            {
                path: "/MultiFileUpload",
                name: 'MultiFileUpload',
                component: () =>
                    import("../views/File/MultiFileUpload/index.vue"),
                meta: { title: "多文件上传" },
            },
            // 其他
            // {
            //     path: "/404",
            //     name: '404',
            //     component: () =>
            //         import("../views/404.vue"),
            //     meta: { title: "404" },
            // },
            // {
            //     path: "/403",
            //     name: '403',
            //     component: () =>
            //         import("../views/403.vue"),
            //     meta: { title: "403" },
            // },
        ],
    },
    {
        path: "/login",
        component: () =>
            import("../views/Login.vue"),
    },
    // {
    //     path: "*",
    //     redirect: "/404",
    // },
]
